package com.yunxin.admin.system.application.assembler;

import com.yunxin.admin.system.application.command.LogCommand;
import com.yunxin.admin.system.domain.model.log.Log;
import org.mapstruct.Mapper;

/**
 * @author zero°
 * @since 2023-07-11
 */
@Mapper(componentModel = "spring")
public interface LogAssembler {

    /**
     * command 转 entity
     * @param command command
     * @return Log
     */
    Log formLogCommand(LogCommand command);
}
